<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="c.tld" prefix="c" %>
<jsp:useBean id="beanListaRespostaFaleConosco" class="classes.BeanListaRespostaFaleConosco" scope="session"/>
<jsp:useBean id="beanRespostaFaleConosco" class="classes.BeanListaRespostaFaleConosco" scope="request"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
	<c:choose>
		
		<c:when test="${sessionScope.beanRespostaFaleConosco.tipoConsulta == 1 or sessionScope.beanRespostaFaleConosco.tipoConsulta == 2 or sessionScope.beanRespostaFaleConosco.tipoConsulta == 3}">
		
			<!-- set bean -->
			
			<jsp:setProperty property="idPerguntaRespondida" name="beanListaRespostaFaleConosco" param="radioButtonPerguntaRespondida"/>
		
			<c:if test="${param.radioButtonPerguntaRespondida == null }">
				<c:redirect url="Controller.jsp">
					<c:param name="redirectMensagem"><c:out value="redirect"/></c:param>
					<c:param name="mensagem"><c:out value="selecione uma pergunta."/></c:param>
				</c:redirect>			
			</c:if>
			<c:if test="${param.radioButtonPerguntaRespondida != null }">
					
				<!-- set bean -->
			
				<jsp:setProperty property="idPerguntaRespondida" name="beanListaRespostaFaleConosco" param="radioButtonPerguntaRespondida"/>				
				
				<!-- redirect -->
				
				<c:redirect url="Controller.jsp">
					<c:param name="redirectResponderPerguntaFaleConosco"><c:out value="redirect"/></c:param>					
				</c:redirect>			
			</c:if>				
		</c:when>		
	</c:choose>	
</body>
</html>